﻿using SqlSugar;

namespace Shop.Model.DB
{
    [SugarTable("Goods_SkuSpec")]
    public class DBGoodsSkuSpec
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// 商品SKU
        /// </summary>
        public long SkuId { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public long GoodsId { get; set; }
        /// <summary>
        /// 规格组ID
        /// </summary>
        public long SpecGroupId { get; set; }

        /// <summary>
        /// 拥有的规格ID
        /// </summary>
        public long SpecId { get; set; }
    }
}
